package com.yike.product.dto;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 条码库
 *
 * @author Sakura
 * @since 2024-11-05
 */
@Data
public class BarcodeDto implements Serializable {
    private static final long serialVersionUID = 1L;

    @ExcelProperty("条形码")
    private String code;

    @ExcelProperty("商品名称")
    private String goodsName;

    @ExcelProperty("图片地址")
    private String goodsImage;

    @ExcelProperty("厂商")
    private String manufacturerName;

    @ExcelProperty("厂商地址")
    private String manufacturerAddress;

    @ExcelProperty("参考价格(单位:元)")
    private BigDecimal price;

    @ExcelProperty("商品进价(单位:元)")
    private BigDecimal buyPrice;

    @ExcelProperty("原产地")
    private String origin;

    @ExcelProperty("备注信息")
    private String remark;

    @ExcelProperty("分类")
    private String category;

    @ExcelProperty("品牌")
    private String brand;

    @ExcelProperty("规格")
    private String specification;

    @ExcelProperty("单位")
    private String unit;

    @ExcelProperty("供应商")
    private String supplier;

    @ExcelProperty("毛利率（%）")
    private BigDecimal grossMargin;

    @ExcelProperty("到期时间")
    private String expireTime;

}
